#ifndef __POST_EVEN__
#define __POST_EVEN__

#include "EventRegistCenter.h"
#include "EventTypes.h"

class PostEven
{
public:
    static bool POST(EventType even, void* data)
    {
        if ( EVE_NULL < even && EVE_MAX > even && data)
        {
            return EventCenter::getInstance()->receiveEven(even, data);
        }

        return false;
    }
};

#endif
